// 自动生成模板Equipment
package equipments

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// equipment表 结构体  Equipment
type Equipment struct {
	global.GVA_MODEL
	EquipmentSerial    string `json:"equipmentSerial" form:"equipmentSerial" gorm:"column:equipment_serial;comment:设备序列号;size:191;"`         //设备序列号
	EquipmentNum       string `json:"equipmentNum" form:"equipmentNum" gorm:"column:equipment_num;comment:设备编号;size:191;"`                   //设备编号
	EquipmentName      string `json:"equipmentName" form:"equipmentName" gorm:"column:equipment_name;comment:设备名称;size:191;"`                //设备名称
	Manufacturer       string `json:"manufacturer" form:"manufacturer" gorm:"column:manufacturer;comment:生产厂家;size:191;"`                    //生产厂家
	EquipmentKind      string `json:"equipmentKind" form:"equipmentKind" gorm:"column:equipment_kind;comment:设备种类;size:191;"`                //设备种类
	EquipmentType      string `json:"equipmentType" form:"equipmentType" gorm:"column:equipment_type;comment:设备型号;size:191;"`                //设备型号
	Location           string `json:"location" form:"location" gorm:"column:location;comment:所在区域;size:191;"`                                //所在区域
	Fixed              string `json:"fixed" form:"fixed" gorm:"column:fixed;comment:是否固定;size:191;"`                                         //是否固定
	AffiliationUnit    string `json:"affiliationUnit" form:"affiliationUnit" gorm:"column:affiliation_unit;comment:所属单位;size:191;"`          //所属单位
	AffiliationProject string `json:"affiliationProject" form:"affiliationProject" gorm:"column:affiliation_project;comment:所属项目;size:191;"` //所属项目
	EquipmentUse       string `json:"equipmentUse" form:"equipmentUse" gorm:"column:equipment_use;comment:设备用途;size:191;"`                   //设备用途
	Operator           string `json:"operator" form:"operator" gorm:"column:operator;comment:操作人;size:191;"`                                 //操作人
	Principal          string `json:"principal" form:"principal" gorm:"column:principal;comment:负责人;size:191;"`                              //负责人
	ProductionStatus   string `json:"productionStatus" form:"productionStatus" gorm:"column:production_status;comment:生产状态;size:191;"`       //生产状态
	AuditStatus        string `json:"auditStatus" form:"auditStatus" gorm:"column:audit_status;comment:审核状态;size:191;"`                      //审核状态
	RepairsCause       string `json:"repairsCause" form:"repairsCause" gorm:"column:repairs_cause;comment:报修原因;size:191;"`                   //报修原因
	Remark             string `json:"remark" from:"remark" gorm:"column:remark;comment:备注;size:191;"`
}

// TableName equipment表 Equipment自定义表名 equipment
func (Equipment) TableName() string {
	return "equipment"
}
